<template>
    <div class="talk">
        <button @click="talkStore.Get">获取</button>
        <ul>
            <li v-for="item in talkStore.talkList">{{ item.title }}</li>
        </ul>
    </div>
</template>
<script setup lang="ts" name="Love">
    import { reactive } from 'vue';
    import axios from 'axios';
    import { nanoid } from 'nanoid';
    import  useTalkStore  from '@/store/talk';
    import { storeToRefs } from 'pinia';
    const talkStore=useTalkStore();
</script>
<style scoped>
    .talk{
    background-color: orange;
    padding: 10px;
    border-radius: 10px;
    box-sizing: 0 0 10px;
    }
</style>